package com.ncr.travel.appmgr.model;

import java.util.List;

import org.codehaus.jackson.map.annotate.JsonDeserialize;

import com.ncr.travel.appmgr.model.shared.Product;

/**
 * @author nd185038, ng185038
 * 
 */
public class ApplicationConfigurationJson implements com.ncr.travel.appmgr.model.shared.ApplicationConfiguration {

	private String userName;
	private List<Product> products;

	@Override
	public String getUserName() {
		return userName;
	}

	@Override
	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public List<Product> getProducts() {
		return products;
	}

	@Override
	@JsonDeserialize(as = ProductJson.class)
	public void setProducts(List<Product> products) {
		this.products = products;
	}

}